// 兴趣管理相关类型定义

export interface Interest {
    id: string;
    interestName: string;
    remarks: string;
    status: number;
    statusName: string;
    createTime: string;
    updateTime: string;
    createBy: string;
    updateBy: string;
}

// 兴趣创建/更新参数
export interface InterestFormData {
    interestName: string;
    remarks: string;
}

// 兴趣编辑参数
export interface InterestEditData extends InterestFormData {
    id: string;
}

// 兴趣查询参数
export interface InterestQueryParams {
    current?: number;
    size?: number;
    interestName?: string;
    status?: number;
    startDate?: string;
    endDate?: string;
}

// 兴趣分页响应
export interface InterestPageResponse {
    records: Interest[];
    total: number;
    current: number;
    size: number;
    pages: number;
}

// 兴趣列表项（用于表格显示）
export interface InterestListItem {
    attributeId: string;
    userId: string;
    userAccount: string;
    interestName: string;
    createTime: string;
}